package org.example.dubboimpl;

import org.apache.dubbo.config.annotation.DubboService;
import org.example.HelloService;
import org.springframework.beans.factory.annotation.Value;

@DubboService
public class HelloServiceImpl implements HelloService {


   //  @Value("${server.port}")
   // private String serverPort;

    @Override
    public String hello(String name) {

        return "Hello," +  name + " 正在使用Dubbo服务调用";
    }
}
